package org.example.cake.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Buycar {
    /**
    * 购物id
    */
    private Integer buyid;

    /**
    * 用户id
    */
    private Integer userid;

    /**
    * 蛋糕id
    */
    private Integer cakeid;

    /**
    * 蛋糕总数
    */
    private Integer cakesum;

    /**
     * 蛋糕尺寸类型0代表4寸 数字1代表6寸
     */
    private Integer type;

}